package com.swh.servic;

import com.swh.dao.HomeDao;

import java.util.List;
import java.util.Map;

/**
 * @Author: swh
 * @Description:
 * @Date: 2020/11/26 14:31
 * @Version: 1.0
 */
public class HomeService {
    private HomeDao homeDao=new HomeDao();

    public Map<String, Object> findHomeCount() {
        return homeDao.findHomeCount();
    }

    public List<Map<String, Object>> findHomeDetail() {
        return homeDao.findHomeDetail();
    }
}
